class OrderPayEntity {
  String appId;
  String partnerId;
  String prepayId;
  String packageValue;
  String nonceStr;
  String timeStamp;
  String sign;

  OrderPayEntity(
      {this.appId,
      this.partnerId,
      this.prepayId,
      this.packageValue,
      this.nonceStr,
      this.timeStamp,
      this.sign});

  OrderPayEntity.fromJson(Map<String, dynamic> json) {
    appId = json['appId'];
    partnerId = json['partnerId'];
    prepayId = json['prepayId'];
    packageValue = json['packageValue'];
    nonceStr = json['nonceStr'];
    timeStamp = json['timeStamp'];
    sign = json['sign'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['appId'] = this.appId;
    data['partnerId'] = this.partnerId;
    data['prepayId'] = this.prepayId;
    data['packageValue'] = this.packageValue;
    data['nonceStr'] = this.nonceStr;
    data['timeStamp'] = this.timeStamp;
    data['sign'] = this.sign;
    return data;
  }
}
